<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\Model\Admin;
use Illuminate\Support\Facades\DB;


class AdminController extends Controller
{
    //
    public function  index(){
        $aaa = DB::table('admin')->get();
        dd($aaa);
        $bbb = Admin::get()->toArray();
        dd($bbb);
        return 'xxxxx';
    }
}
